﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Hueton_1._2_Ultimate
{
    public class HelpTrick
    {
        public static string GeneralHelp;
        public static string Tips;
        public static void GetHelp(string Type)
        {
            Console.Clear();
            Type.ToLower();
            if (Type == "general")
            {
                general();
            }
            else
            {
                if(Type == "programs")
                {
                    programs();
                }
                if(Type == "tips")
                {
                    tips();
                }
                if (Type == "errors")
                {
                    errors();
                }
                else
                {
                    Program.Init();
                }
            }
        }
        static void general()
        {
            Console.Clear();
            Console.WriteLine("[Hueton Help And Support][X]");
            Console.WriteLine();
            Console.Write(GeneralHelp);
            Console.WriteLine("[Enter-To continue][S-Search]");
            Console.Read();
            Program.Init();
        }
        static void tips()
        {
            Console.Clear();
            Console.WriteLine("[Hueton Tips And Tricks][X]");
            Console.WriteLine();
            Console.Write(Tips);
            Console.WriteLine("[Enter-To continue][S-Search]");
            Console.Read();
            Program.Init();
        }
        static void programs()
        {
            Console.Read();
            Program.Init();
        }
        static void errors()
        {
            Console.Read();
            Program.Init();
        }
    }
}
